package com.zsqat.eshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zsqat.common.utils.PageUtils;
import com.zsqat.eshop.product.entity.SkuInfoEntity;
import com.zsqat.eshop.product.vo.SkuItemVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author zsqat
 * @email 491192853@qq.com
 * @date 2020-11-19 16:40:59
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

  PageUtils queryPage(Map<String, Object> params);

  // void saveSkuInfo(SkuInfoEntity skuInfoEntity);

  // PageUtils queryPageCondition(Map<String, Object> params);

  // List<SkuInfoEntity> getSkusBySpuId(Long spuId);

  /**
   * 查询商品详情
   * @param skuId
   * @return
   */
  SkuItemVo item(Long skuId) throws ExecutionException, InterruptedException;
}

